function ok()
{	
	if(parent.contentFrmst.rows=="33,*,0,0")
	{
		parent.frames("infoFrm").document.forms(0).submit();
		return;
	}	
	else
	{
		parent.frames("expFrm").document.navigate("example.pdf");	
	}
}

function query() {
	parent.contentFrmst.rows = "33,150,*";
	parent.frames("infoFrm").navigate("studentNo.jsp");
}